<!--
*Author：富行天下团队
 *
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/mall/AccountBalance.js此处编写
 -->
<template>
  <div>
    <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
      :editFormFileds="editFormFields" :editFormOptions="editFormOptions"
      :searchFormFields="searchFormFields" :searchFormFileds="searchFormFields"
      :searchFormOptions="searchFormOptions" :table="table" :extend="extend">
    </view-grid>
  </div>
</template>

<script>
import extend from "@/extension/mall/Seat.js";
import ViewGrid from "@/components/basic/ViewGrid.vue";
var vueParam = {
  components: {
    ViewGrid,
  },
  data() {
    return {
      table: {
        key: "Id",
        footer: "Foots",
        cnName: "影院座位",
        name: "Seat",
        url: "/cinemaVenue/",
        sortName: "Id",
      },
      extend: extend,
      editFormFields: {
        venue: "",
        creator: "",
        createID: "",
        createDate: "",
        modifier: "",
        modifyID: "",
        modifyDate: "",
        merchantCode: "",
        merchantName: "",
      },
      editFormOptions: [[{ title: "影院座位", field: "venue", type: "text" }]],
      searchFormFields: { venue: "" },
      searchFormOptions: [
        [{ title: "影院座位", field: "venue", type: "like" }],
      ],
      columns: [
        {
          field: "venue",
          title: "影院座位",
          type: "int",
          align: "left",
          sortable: true,
        },
        {
          field: "creator",
          title: "创建人",
          type: "string",
          width: 90,
          align: "left",
        },
        {
          field: "createDate",
          title: "创建时间",
          type: "datetime",
          width: 190,
          align: "left",
          sortable: true,
        },
        {
          field: "modifier",
          title: "修改人",
          type: "string",
          width: 180,
          align: "left",
        },
        {
          field: "modifyDate",
          title: "修改时间",
          type: "datetime",
          width: 90,
          align: "left",
          sortable: true,
        },
      ],
      detail: {
        cnName: "区域管理",
        columns: [
          // {
          //   field: "c_studio_district_name",
          //   title: "区域名称",
          //   type: "int",
          //   align: "left",
          //   sortable: true,
          //   edit: { type: "text", keep: true, required: true },
          // },
        ],
        sortName: "",
        key: "",
      },
    };
  },
};
export default vueParam;
</script>
